<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
<head>
    <th:block th:include="include :: header('修改积分套餐')" />
</head>
<body class="white-bg">
    <div class="wrapper wrapper-content animated fadeInRight ibox-content">
        <form class="form-horizontal m" id="form-pointspackage-edit" th:object="${whPointspackage}">
            <input name="id" th:field="*{id}" type="hidden">
            <div class="form-group">    
                <label class="col-sm-3 control-label">套餐名称：</label>
                <div class="col-sm-8">
                    <input name="packageName" th:field="*{packageName}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">套餐价格：</label>
                <div class="col-sm-8">
                    <input name="packagePrice" th:field="*{packagePrice}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">充值积分：</label>
                <div class="col-sm-8">
                    <input name="packagePoint" th:field="*{packagePoint}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">赠送积分：</label>
                <div class="col-sm-8">
                    <input name="givePoint" th:field="*{givePoint}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">赠送置顶次数：</label>
                <div class="col-sm-8">
                    <input name="giveToptimes" th:field="*{giveToptimes}" class="form-control" type="text">
                </div>
            </div>
           <!-- <div class="form-group">
                <label class="col-sm-3 control-label">状态：</label>
                <div class="col-sm-8">
                    <select name="status" th:field="*{status}" class="form-control m-b">
                        <option value="启用">启用</option>
                        <option value="停用">停用</option>
                    </select>
                    <span class="help-block m-b-none"><i class="fa fa-info-circle"></i> 代码生成请选择字典属性</span>
                </div>
            </div>-->
        </form>
    </div>
    <th:block th:include="include :: footer" />
    <script th:inline="javascript">
        var prefix = ctx + "whzj/pointspackage";
        $("#form-pointspackage-edit").validate({
            focusCleanup: true
        });

        function submitHandler() {
            if ($.validate.form()) {
                $.operate.save(prefix + "/edit", $('#form-pointspackage-edit').serialize());
            }
        }
    </script>
</body>
</html>